import {Handler} from './Handlers';
/**请求，待处理对象*/
export default class Request{
  value:number;
  constructor(val:number){
    this.value = val;
  }
  done(handler:Handler){
    console.log(handler.role + '处理了价值为 [$' + this.value + '] 的请求');
  }
}